home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Development Platforms / Apple II / Essentials / GSBug / Notes.AplWrks (.txt) < prev    next >
Encoding:
AppleWorks Document  |  1991-10-11  |  3.0 KB  |  82 lines  |  [1A /pdos]

  1. O=====|====|====|====|====|====|====|====|====|====|====|====|====|====|====|===
  2. GSBug Notes
  3. Weird screen stuff (every other column is a column of     
  4. spaces)
  5. Breakpoint
  6. <value to break on>;
  7. <tab> or <spacebar> to set 1 as the iteration to break on
  8. 8<iteration to break at; e.g., 1> or "i" for conditional 
  9. breakpoints
  10. <esc>
  11. in sets real-time breakpoints
  12. r return to program execution
  13. Breakpoint conditionally
  14. <value to break on>
  15. <right arrow> 
  16. i  for conditional breakpoints
  17. <esc>9
  18. 7SETIF <B or W> expression exprssn operators: =, # (not &
  19. equal), <, > (greater than or equal);
  20. 9SETIF W A<#$0101 break if word in accum is less than the 
  21. constant (#) $0101;
  22. 9SETIF B $021234=$034321 break if byte at $02/1234 is the 
  23. same as byte at $03/43218
  24. 6SETIF W X>Y break if word in X greater than word in Y 
  25. (regs: AXYSDPB)
  26. in sets real-time breakpoints
  27. r return to program execution
  28. Breakpoint if value in register is such-and-such
  29. 9setif W A>#$0001 W for word value; A for accum; > for ?; 
  30. so if accum>0, then break
  31. <value to break on>
  32. <right arrow>)
  33. i for 'if'; puts 'IF' in iteration area
  34. <esc>
  35. in sets real-time breakpoints
  36. Memory, display
  37. <address> 16 bytes on the command line7
  38. 5<address>: flip to memory screen (21 lines, 16 bytes 
  39. each) (ESC to return)
  40. DP: direct page6
  41. DP:xxx 16 bytes from direct page:xxx to command line1
  42. <address>:: indirection: use 2 bytes at address2
  43. <address>::: indirection: use 3 bytes at address!
  44. <spacebar> next block of memory
  45. Memory, set
  46. 4<address>:value put hex value in memory starting at     
  47. address
  48. Monitor, visit
  49. 6Mon NOTE: it blows K / PC / Stack / DP / B / ...  Use 
  50. NiftyList!!
  51. Ctrl-Y <return> return to GSBug
  52. Nifty List shortcut
  53. N transfers control to NiftyList
  54. OS Breaks
  55. SetOSBrk _OpenGS append GS for Class 1 calls!!!    
  56. OSBrkIn
  57. ShowBrks
  58. Registers, alter contents (case sensitive)
  59. 8<register>=<value> use A, X, Y, K, PC, K/PC, B, D, S, P 
  60. (& M,Q,L)
  61. x toggles x bit of P
  62. m toggles m bit of P
  63. e toggles emulation mode9
  64. DPAGE sets D to direct page allocated for user by GSBug3
  65. STACK sets S to stack allocated for user by GSBug
  66. Set Step-and-Trace highlighted line
  67. <up-arrow> <up-arrow> ... as many times as necessary
  68. <esc>)
  69. CSave *:System:System.Setup:GSBug.Setup
  70. <space>  for each step
  71. X skip across a jsr or jsl#
  72. <downarrow> skip next instruction
  73. Templates
  74. _templates display templategroups(
  75. _<templategroup> display templatenames9
  76. 7_<templatename> <addr> display memory at <addr> in the 
  77. form of the template
  78. Tool Breaks
  79. SetTBrk _ShutDownTools    
  80. TBrkIn 
  81. ShowBrks
  82.